<%--
  Created by IntelliJ IDEA.
  User: zhang
  Date: 2018/10/31
  Time: 22:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <h4>List Page</h4>
        welcome:<shiro:principal></shiro:principal>

        <shiro:hasRole name="admin">
            <a href="admin.jsp">Admin</a><br/>
        </shiro:hasRole>

        <shiro:hasRole name="user">

            <a href="user.jsp">User</a><br/>

        </shiro:hasRole>
        <br/>
        <a href="upload.html">Upload Page</a>
        <br/>
        <a href="excelUpload.jsp">Excel Upload</a>
        <br/>
        <a href="ImportExcle.jsp">Import Upload</a>
        <br/>
        <<a href="shiro/logout">退出登陆</a><br/>
</body>
</html>
